<!DOCTYPE html>
<html lang="en">
  <head>
    <link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css"
          rel="stylesheet">
      <title>Search Similar NameCards</title>
  </head>
  <body>
    <h2 align="center">Search Similar NameCards</h2>
    {% if count %}
        <strong>
            <p style="color: cadetblue" align="center">{{ count }} (md5 uniq) NameCards in Database</p>
        </strong>
    {% endif %}
    <div class="container">
      <div class="header">
        <h3 class="text-muted">Upload a NameCard</h3>
      </div>
      <br/>

      <div style="align-items: center">
      <form action="upload" method="post" enctype="multipart/form-data">
        <input type="file" name="file"><br/>
        <input type="submit" value="Upload">
      </form>
      </div>
      <br/>

      <div>
          {% if info %}
              <strong>
                  <p style="color: red;font-size: medium">{{ info }}</p>
              </strong>
          {% endif %}
      </div>
    </div>

    <div>
        <p align="center">Demo: <a>http://192.168.30.251:5000/uploads/20160707_153054_1467876654_QF003.jpg</a></p>
    </div>


  </body>
</html>
